package mspbots.qbd.data.online.generalledger;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Jay.Yang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("qbo_general_ledger")
public class OnlineGeneralLedger implements Serializable {

    @Id
    private Long id;
    private Long tenantId;
    private String timePeriod;
    private JsonNode value;
    private LocalDateTime syncTime;

}
